﻿#pragma once

#include <string>
#include <vector>
#include <any>

namespace LibraryViewer
{
    class LoadSettings : public System::Windows::Forms::Form
    {
    public:
        virtual ~LoadSettings()
        {
            delete components;
            delete button1;
            delete cbPrefix;
            delete label1;
            delete cbFront;
            delete cbManualPrefix;
        }

        LoadSettings();

    private:
        void button1_Click(std::any sender, EventArgs *e);

    public:
        bool GetFrontSide();

        std::string GetPrefix();

        bool GetManualPrefix();

    private:
        void cbManualPrefix_CheckedChanged(std::any sender, EventArgs *e);


        /// <summary>
        /// Required designer variable.
        /// </summary>
        System::ComponentModel::IContainer *components = nullptr;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
    protected:
        void Dispose(bool disposing) override;

        #pragma region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
    private:
        void InitializeComponent();

        #pragma endregion

        System::Windows::Forms::Button *button1;
        System::Windows::Forms::ComboBox *cbPrefix;
        System::Windows::Forms::Label *label1;
        System::Windows::Forms::CheckBox *cbFront;
        System::Windows::Forms::CheckBox *cbManualPrefix;
    };
}
